﻿namespace Mvc.RazorTools
{
	/// <summary>
	/// Provides management of MVC razor Tools bundles. These bundles allow
	/// style sheets and scripts to be easily combined across multiple libraries
	/// without the need to manually edit the initialization code or change
	/// add and remove render statements in each view.
	/// </summary>
	public class BundleManager
	{
		private static StylesBundle _styles = new StylesBundle();
		private static ScriptsBundle _scripts = new ScriptsBundle();

		/// <summary>
		/// Gets the Styles bundle used by MVC Razor Tools.
		/// </summary>
		public static StylesBundle Styles
		{
			get
			{
				return _styles;
			}
		}

		/// <summary>
		/// Gets the Scripts bundle used by MVC Razor Tools.
		/// </summary>
		public static ScriptsBundle Scripts
		{
			get
			{
				return _scripts;
			}
		}
	}
}